﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Cn.Edwon.Web.Session;

namespace Cn.Edwon.Web.Ac {
    public class UserPower{
        public UserPower() {
            this._DeptKey = null;
            this._DeptLevel = null;
            this._DeptName = null;
            this._IsSysop = false;
            this._RoleKey = null;
            this._RoleLevel = null;
            this._RoleName = null;
        }
        private Boolean _IsSysop;
        public Boolean IsSysop {
            get {
                return _IsSysop;
            }
            set {
                _IsSysop = value;
            }
        }
        private string _RoleKey;
        public string RoleKey {
            get {
                return _RoleKey;
            }
            set {
                _RoleKey = value;
            }
        }

        private string _RoleName;
        public string RoleName {
            get {
                return _RoleName;
            }
            set {
                _RoleName = value;
            }
        }
        private Int32? _RoleLevel;
        public Int32? RoleLevel {
            get {
                return _RoleLevel;
            }
            set {
                _RoleLevel = value;
            }
        }
        private string _DeptKey;
        public string DeptKey {
            get {
                return _DeptKey;
            }
            set {
                _DeptKey = value;
            }
        }
        private string _DeptName;
        public string DeptName {
            get {
                return _DeptName;
            }
            set {
                _DeptName = value;
            }
        }
        private Int32? _DeptLevel;
        public Int32? DeptLevel {
            get {
                return _DeptLevel;
            }
            set {
                _DeptLevel = value;
            }
        }
    }

}
